package com.hoasua.adb.example;

import com.hoasua.adb.adbObject;

	/**
	 * Class: User
	 * */
	@SuppressWarnings("serial")
	public class ObjectExample extends adbObject{
		public static final String TAG="User";
		
		public String _id_username;
		public String _fullname;
		public String _gender;
		public String _birthday;
		public String _email;
		public String _link_image;
		public String _type_account;
		public String _address;
		public String _latitude;
		public String _longitude;
		public String _current_address;
		public String _phone;
		public String _nickname;
		public String _category;
		
		// data Object
		public ObjectExample(int id, String... values) {
			super(id, values);
			this._id_username=values[0];
			this._fullname=values[1];
			this._gender=values[2];
			this._birthday=values[3];
			this._email=values[4];
			this._link_image=values[5];
			this._type_account=values[6];
			this._address=values[7];
			this._latitude=values[8];
			this._longitude=values[9];
			this._current_address=values[10];
			this._phone=values[11];
			this._nickname=values[12];
			this._category=values[13];
		}
		
		// Auto generate by Eclipse!
		@Override
		public String toString() {
			return "User ["+"_id="+super._id+"_id_username=" + _id_username + ", _fullname="
					+ _fullname + ", _gender=" + _gender + ", _birthday="
					+ _birthday + ", _email=" + _email + ", _link_image="
					+ _link_image + ", _type_account=" + _type_account
					+ ", _address=" + _address + ", _latitude=" + _latitude
					+ ", _longitude=" + _longitude + ", _current_address="
					+ _current_address + ", _phone=" + _phone + ", _nickname="
					+ _nickname + ", _category=" + _category + "]";
		}

		@Override
		public String[] getValues() {
			values[0]=this._id_username;
			values[1]=this._fullname;
			values[2]=this._gender;
			values[3]=this._birthday;
			values[4]=this._email;
			values[5]=this._link_image;
			values[6]=this._type_account;
			values[7]=this._address;
			values[8]=this._latitude;
			values[9]=this._longitude;
			values[10]=this._current_address;
			values[11]=this._phone;
			values[12]=this._nickname;
			values[13]=this._category;
			return values;
		}
		
	}